﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EulerLib
{
    public class Grid
    {
        public Point TopLeft { get; set; }
        public Point BottomRight { get; set; }

        public bool WithinBoundaries(Point point)
        {
            return EulerUtils.WithinBoundaries(point.X, point.Y, this.TopLeft.X, this.BottomRight.X, this.TopLeft.Y, this.BottomRight.Y);
        }
    }
}
